package com.bbz.spring.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;


public class Car {

    public Car(){
        System.out.println("************创建Bean"+this.getClass().getName());
    }

    public void init(){
        System.out.println("************初始化Bean"+this.getClass().getName());
    }

    public void destroy(){
        System.out.println("*************销毁Bean"+this.getClass().getName());
    }
}
